package com;

public class Sedan extends Car {
	private int personNum;
	
	public Sedan() {
		this.personNum = 0;
		this.price = 0;
		this.name = "";
	}
	
	public Sedan(int personNum, int price, String name) {
		this.identity = 0;
		this.personNum = personNum;
		this.price = price;
		this.name = name;
	}
	
	public byte getModel() {
		return identity;
	}
	//override
	public int getPersonNum() {
		return personNum;
	}
}
